home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperHackers.cpt / Hyper-Hackers Queue 1.0 / card_24038.txt < prev    next >
Text File  |  1989-02-26  |  2KB  |  47 lines

  1. -- card: 24038 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3797
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  
  11. From: cca@pur-phy (Charles C. Allen)
  12.  
  13. Date: 1 Mar 88 16:04:58 GMT
  14.  
  15. > So, in a never ending battle to figure out what the heck you meant,
  16. > the HyperTalk interpreter guesses that you might forgotten a pair of
  17. > quotes, and transforms the line into...
  18.  
  19. How helpful.  Any interpreter/compiler which silently changes the
  20. meaning of the source provided to it is going to frustrate many, many
  21. programmers.  Me included (I've been bitten by this "feature" before).
  22.  
  23. > I call the above construction an "unquoted literal".  It let's you
  24. > do things like...
  25. > [stuff deleted]
  26. > Here are a couple rules of thumb:...
  27.  
  28. Sigh.  Whatever happened to simplicity as a goal for programming
  29. languages?  Just REQUIRE the silly "'s, get rid of unquoted literals,
  30. and all this would become moot.  I simply can't believe that simpler
  31. is not better in this case.
  32.  
  33. On a related note, I would like to see required declarations for all
  34. variables (global variables have to be declared, I just want to extend
  35. that to local variables as well).  The script could be checked for
  36. consistency when OK is clicked.  The next step would be an incremental
  37. compiler....
  38.  
  39. While I'm dreaming, I'd also like to see variables which have a scope
  40. for the script they're declared in (card variables in the card script,
  41. button variables in the button script, etc.).
  42.  
  43.  
  44.  
  45. -- part contents for background part 45
  46. ----- text -----
  47. Re: HyperCard bug  <- No, it's a feature.